<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<%@ include file="/base.jsp"%>
<script type="text/javascript">
$(function(){    
    $('#sub').bind('click', function(){    
    	$("#mainform").submit();   
    });    
});  


</script>
</head>
<body class="easyui-layout">
	<div data-options="region:'center',title:'给媳妇儿演示登录'"
		style="padding: 5px; background: #eee;">
		<div align="center">
			<form id="mainform" action="${ctx}/login/dologin.do" method="post">
			
				<table style="border-collapse: separate; border-spacing: 10px;" border="1">
					<tr>
						<td>用户名：</td>
						<td><input id="userName" name="userName" type="text"
							class="easyui-validatebox" data-options="required:true" /></td>
					</tr>
					<tr>
						<td>密码：</td>
						<td><input id="pwd" name="pwd" type="password"
							class="easyui-validatebox" data-options="required:true" /></td>
					</tr>
					<tr align="center">
					<td >
						<a  id="sub" href="#" class="easyui-linkbutton" >登录</a> 
						</td>
						<td>
						<a id="thirdSub" href="#" class="easyui-linkbutton" >第三方登录</a></td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
</html>
